﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.MES.Customer.Domain.DTO
{
    /// <summary>
    /// BomDto(用于显示)
    /// </summary>
    [Table("BomTab")]
    public class BOMDto
    {
        public int BOMID { get; set; }

        public string? BOMNum { get; set; } // BOM编号
        public string? BOMTopic { get; set; } // BOM主题
        public string? Versions { get; set; } // 版本
        public string? ArtifactType { get; set; } // 成品类型
        public int DailyOutput { get; set; } // 日产量
        public string? ArtifactName { get; set; } // 成品名称
        public string? Remark { get; set; } // 备注
        public int? Quantity { get; set; } // 组成数量
        public int? ParentProductId { get; set; }//(外键，指向产品表的ProductId的ProductId)
        public int? ChildProductId { get; set; }//(外键，指向产品表的ProductId)
    }
}
